import request from '@/utils/request'

// 查询整改通知
export function list(params) {
  return request({
    url: '/gcxt/report/rectifyList',
    method: 'get',
    params: params
  })
}

// 查询基础工程整改通知
export function listBe(params) {
  return request({
    url: '/gcxt/beCheckresult/page',
    method: 'get',
    params: params
  })
}

// 查询整改通知详情
export function getRecord(params) {
  return request({
    url: '/gcxt/checkRecord/get',
    method: 'get',
    params: params
  })
}

// 新增分部分项
export function addCheckType(data) {
  return request({
    url: '/gcxt/checktype/add',
    method: 'post',
    data: data
  })
}

